﻿<%@ Page Language="C#" MasterPageFile="~/Share/Default.master" AutoEventWireup="true"
    CodeFile="UserInfo.aspx.cs" Inherits="Agent_UserInfo" Title="个人信息" %>

<%@ Register Assembly="mybutton" Namespace="BlogLan.Web.Controls" TagPrefix="cc1" %>

<%@ Register Src="../Control/Area.ascx" TagName="Area" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script src="../JS/jquery-1.4.2.min.js" type="text/javascript"></script>

    <script src="../JS/AreaAjax.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
        var provintce=$(".hfProvince").val();
        var city=$(".hfCity").val();
        var district=$(".hfDistrict").val();
        //alert(provintce+"$"+city+"$"+district)
        $(".ddlProvince").val(provintce);
        getCity(provintce,city);
        getDistrict(city,district);
    });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="Server">&nbsp;
    <table>
        <tr>
            <td colspan="2"><asp:Localize ID="errors" runat="server"></asp:Localize></td>
        </tr>
        <tr>
            <td>
                会员账号
            </td>
            <td>
                <asp:Localize ID="lUserName" runat="server"></asp:Localize>
            </td>
        </tr>
        <tr>
            <td>
                性别
            </td>
            <td>
                <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Text="男" Value="男"></asp:ListItem>
                    <asp:ListItem Text="女" Value="女"></asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td>
                真实姓名
            </td>
            <td>
                <asp:TextBox ID="tbName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                电子邮箱
            </td>
            <td>
                <asp:Localize ID="lEmail" runat="server"></asp:Localize>
            </td>
        </tr>
        <tr>
            <td>
                上传头像
            </td>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="iPhoto" runat="server" />
                        </td>
                        <td>
                            <asp:FileUpload ID="uploadFile" runat="server" />
                            <p style="margin: 2px">
                                上传说明:<br />
                                1.支持.jpeg、.jpg、.gif等图片格式<br />
                                2.图片宽高比尽量接近正方形
                            </p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                身份证号码
            </td>
            <td>
                <asp:TextBox ID="tbIDCard" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                我的生日
            </td>
            <td>
                <asp:TextBox ID="tbBirth" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                我的公司
            </td>
            <td>
                <asp:TextBox ID="tbCompany" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                我的职务
            </td>
            <td>
                <asp:TextBox ID="tbPost" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                我的网址
            </td>
            <td>
                <asp:TextBox ID="tbWeb" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                所在城市
            </td>
            <td>
                <uc1:Area ID="Area" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                通讯地址
            </td>
            <td>
                <asp:TextBox ID="tbAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                邮编
            </td>
            <td>
                <asp:TextBox ID="tbZipCode" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                联系电话
            </td>
            <td>
                <asp:TextBox ID="tbTel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                传真
            </td>
            <td>
                <asp:TextBox ID="tbFax" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                手机
            </td>
            <td>
                <asp:TextBox ID="tbMobile" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                MSN
            </td>
            <td>
                <asp:TextBox ID="tbMSN" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                QQ
            </td>
            <td>
                <asp:TextBox ID="tbQQ" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                阿里旺旺
            </td>
            <td>
                <asp:TextBox ID="tbAliWW" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <cc1:ClickOnceButton ID="save" Text="保存" runat="server" onclick="save_Click" />
            </td>
        </tr>
    </table>
    <input  ID="hfProvince" runat="server" type="hidden" class="hfProvince" />
    <input ID="hfCity" runat="server" type="hidden" class="hfCity" />
    <input ID="district" runat="server" type="hidden" class="hfDistrict" />
    <input ID="hfPhoto" runat="server" type="hidden"/>
</asp:Content>
